package com.addplus.townmall.server.api.model.town;

import java.math.BigDecimal;

import com.addplus.townmall.server.api.model.base.BaseRestModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 合伙人收益流水表
 * </p>
 *
 * @author zhangjiehang
 * @since 2018-12-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class PartnerRecord extends BaseRestModel {

    private static final long serialVersionUID = 1L;

    /**
     * 合伙人主键id
     */
    private Integer partnerId;

    /**
     * 商城店铺主键id
     */
    private Integer storeId;

    /**
     * 商城订单主键id
     */
    private Integer orderId;

    /**
     * 商品类型(1:普通 2:拼团)
     */
    private Integer orderType;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 帐户剩余
     */
    private BigDecimal balance;

    /**
     * 交易类型(0:商品收益 1:退佣  2:提现)
     */
    private Integer tradeType;

    /**
     * 交易备注
     */
    private String remark;

    /**
     * 是否删除(0:否 1:是)
     */
    private Integer isDelete;


}
